using System;

namespace Open.Data.Persistence
{
	public enum SortDirection
	{
		Ascending = 0,
		Descending = 1
	}

    public enum AggregateType
    {
        Unique = 0,
        Sum = 1,
        Min = 2,
        Max = 3,
        Avg = 4
    }

    public enum ConcurrencyStatus
    {
        None = 0,
        Loaded = 1,
        Created = 2,
        Updated = 3,
        Deleted = 4
    }

    public enum JoinType
    {
        Inner = 0,
        Left = 1,
        Right = 2,
        Outer = 3,
        Cross = 4
    }

    public enum ConditionsOperator
    {
        And = 0,
        Or = 1,
    }

    public enum ComparisonOperator
    {
        Equal = 0,
        NotEqual = 1,
        GreaterThan = 2,
        LessThan = 3,
        GreaterThanEqual = 4,
        LessThanEqual = 5,
        Like = 6
    }

    public enum ExpressionOperator
    {
        Add = 0,
        Subtract = 1,
        Multiply = 2,
        Divide = 3,
        Modulo = 4
    }

    public enum DeploymentMode
    {
        Update = 0,
        Overwrite = 1
    }

    public enum DeploymentType
    {
        Validate = 0,
        Deploy = 1
    }
}
